package com.yunxi.model.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author caoYong
 * @since 2019-07-23
 */
@Data
@EqualsAndHashCode(callSuper = false)

@ApiModel(value="BaseApplyLevel对象", description="")
public class BaseApplyLevel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "LEVEL_ID", type = IdType.UUID)
    private String levelId;

    @ApiModelProperty(value = "当前用户审核级别")
    @TableField("CURRENT_LEVEL")
    private Integer currentLevel;

    @ApiModelProperty(value = "用户编号")
    @TableField("USER_CODE")
    private String userCode;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "业务编码")
    @TableField("BUS_ID")
    private String busId;

    @ApiModelProperty(value = "用户名")
    @TableField("USER_NAME")
    private String userName;


}
